rem Workaround for robocopy's non-zero exit code on success
rem call SimpleCopy.bat srcDir dstDir files
@echo robocopy %1 %2 %3 /XO /NJH /NJS /NP /NDL
@robocopy %1 %2 %3 /XO /NJH /NJS /NP /NDL
if errorlevel 4 goto failure
goto success
:failure
exit /B 1
:success
exit /B 0